/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ac.za.cput.xalisa.designpatterns.structural.proxy;

/**
 *
 * @author Enkosi
 */
class AccountHolder {
    private String name;
    private String lastName;
    private long accountNumber;
    private boolean passbook;
    private boolean card;
    
    public AccountHolder(String name) {
        this.name = name;
    }
    
    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    boolean getCard() {
        return card;
    }

    /**
     * @return the accountNumber
     */
    public long getAccountNumber() {
        return accountNumber;
    }

    /**
     * @param accountNumber the accountNumber to set
     */
    public void setAccountNumber(long accountNumber) {
        this.accountNumber = accountNumber;
    }

    public boolean getPassbook() {
        return passbook;
    }
    
}
